#include <stdio.h>
int main() {
  int n, v = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    char s[4];
    scanf("%s", s);
    v += s[1] == '+' ? 1 : -1;
  }
  printf("%d\n", v);
  return 0;
}